package com.example.producer;


import org.springframework.stereotype.Service;

import javax.jws.WebService;

/**
 * @author wangbin
 */
@Service
@WebService(
        serviceName = "DemoService",
        endpointInterface = "com.example.producer.DemoService",
        targetNamespace = "http://test.example.com/")
public class DemoServiceImpl implements DemoService {

    @Override
    public String sayHello(String name) {
        return "你好，" + name;
    }

}
